package com.heima.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dto.PageResponseResult;
import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.ChannelDto;
import com.heima.media.entity.WmChannel;

import java.util.List;

public interface IChannelService extends IService<WmChannel> {
    PageResponseResult<List<WmChannel>> listChannelPage(ChannelDto dto);

    ResponseResult insertChannel(WmChannel channel);

    ResponseResult deleteChannel(Long id);

    ResponseResult updateChannel(WmChannel channel);

    ResponseResult getChannels();
}
